package com.team7.home.service;

import com.team7.common.entity.Link;
import com.team7.common.vo.CommonResult;
import com.team7.common.vo.LinkVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 张煜杰
 * @since 2021-10-21
 */
public interface LinkService extends IService<Link> {
    CommonResult getAllLink(Integer page, Integer limit, LinkVo linkVo);

    CommonResult changeStatus(String linkId, Integer isDisable);

    CommonResult deleteLink(String linkId);

    CommonResult addLink(LinkVo linkVo);

    CommonResult getQianLink();

}
